package com.niiwoo.civet.user.dao.mapper;

import com.niiwoo.civet.user.dao.entity.UserQuestion;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface UserQuestionMapperExt extends UserQuestionMapper {
    /**
     * 根据内容模糊查询问题
     * @param searchContent
     * @return
     */
    List<UserQuestion> selectByContent(@Param("searchContent") String  searchContent);
    /**
     * 按更新时间排序(前五)
     */
    List<UserQuestion>  selectByPrimaryKeyOrder();

}